package top.infopub.model.cap;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author Warking
 * @Date 2021/5/24 14:35
 * @Version 1.0  融资还款
 */
public class FinanceReimbursement extends PublicInstance{


    /*sguid*/
    private String id;
    /*项目编码*/
    private String proCode;
    /*项目名称*/
    private String proName;

    /*项目城市*/
    private String cityName;
    /*单据状态 1=审批中 9=审批完成 10=审批终止*/
    private String processStatus;
    /*日期*/
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date addTime;
    /*还款金额*/
    private BigDecimal repayAmt;
    /*合同融资总额*/
    private BigDecimal sumAmt;

    /** 实际还款金额 */
    private BigDecimal actRepayAmt;

    /** 实际还款日期 */
    @JsonFormat(pattern="yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date actRepayDate;

    /*金融机构id*/
    private String setupFinancialId;

    //借款合同id
    private String loanContId;

    public String getLoanContId() {
        return loanContId;
    }

    public void setLoanContId(String loanContId) {
        this.loanContId = loanContId;
    }

    public BigDecimal getRepayAmt() {
        return repayAmt;
    }

    public void setRepayAmt(BigDecimal repayAmt) {
        this.repayAmt = repayAmt;
    }

    public String getId() {
        return id;
    }


    public void setId(String id) {
        this.id = id;
    }


    public String getProCode() {
        return proCode;
    }


    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getProName() {
        return proName;
    }


    public void setProName(String proName) {
        this.proName = proName;
    }


    public String getProcessStatus() {
        return processStatus;
    }


    public void setProcessStatus(String processStatus) {
        this.processStatus = processStatus;
    }


    public Date getAddTime() {
        return addTime;
    }


    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getSetupFinancialId() {
        return setupFinancialId;
    }

    public void setSetupFinancialId(String setupFinancialId) {
        this.setupFinancialId = setupFinancialId;
    }

    public BigDecimal getSumAmt() {
        return sumAmt;
    }

    public void setSumAmt(BigDecimal sumAmt) {
        this.sumAmt = sumAmt;
    }

    public String getCityName() {
        return cityName;
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public BigDecimal getActRepayAmt() {
        return actRepayAmt;
    }

    public void setActRepayAmt(BigDecimal actRepayAmt) {
        this.actRepayAmt = actRepayAmt;
    }

    public Date getActRepayDate() {
        return actRepayDate;
    }

    public void setActRepayDate(Date actRepayDate) {
        this.actRepayDate = actRepayDate;
    }
}
